<?php
namespace app\index\controller;
use \libs\Easemob;
class Chat extends Base
{
    public function index()
    {
		//$this->mm();
		$mm= new Easemob();
		$options['client_id'] = 'YXA6yTjTcJwvEeeazGWfFtzywA';  
        $options['client_secret'] = 'YXA688y0KA4bOHHpgg4dchkpk1mpkK4';  
        $options['org_name'] = '1126170918115547';  
        $options['app_name'] = 'xiaoxi';  
		$mm->index($options);
		//$s=$mm->createUser('zhangning',123456);
		$s=$mm->getUser('zhangning');
//		var_dump($s);
//		exit;
//		echo "www";
//		exit;
    }
}
